﻿using Abp;
using Abp.Notifications;
using System;
using System.Collections.Generic;
using System.Text;

namespace FwProject.ManagerNotification.DataDto
{
    /// <summary>
    /// 订单订阅通知模型
    /// </summary>
    public class OrderOperationNotificationData : NotificationData
    {
        /// <summary>
        /// 跳转路径
        /// </summary>
        public string PushData { get; set; }
        
        /// <summary>
        /// 通知标题
        /// </summary>
        public string NotificationTitle { get; set; }

        public NotificationType NotificationType { get; set; } = NotificationType.支付成功;

        public UserIdentifier UserIdentifier { get; set; }

        public OrderOperationNotificationData(NotificationType notificationType,string pushData, string notificationTitle, UserIdentifier userIdentifier)
        {
            PushData = pushData;
            NotificationTitle = notificationTitle;
            NotificationType = notificationType;
            UserIdentifier = userIdentifier;
        }
    }
    public enum NotificationType {
        支付成功=0,
        物流收货 = 1,
        物流发货 = 2,
        结算通知 =3,
    }
}
